public class String01 {
    public static void main(String[] args) {
        for (int i = 0; i <= 1; i++) {
            for (int j = 0; j <= 1; j++) {
                for (int k = 0; k <= 1; k++) {
                    for (int l = 0; l <= 1; l++) {
                        for (int m = 0; m <= 1; m++) {
                            System.out.print(i);
                            System.out.print(j);
                            System.out.print(k);
                            System.out.print(l);
                            System.out.println(m);//注意前面的都是print，最后一个用println
                        }
                    }
                }
            }
        }
    }}
